//
//  MenuTopView.h
//  AllYoga
//
//  Created by liwei on 2017/5/31.
//  Copyright © 2017年 biyunkeji. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kItemTag 999

@interface MenuTopView : UIView

//item数据源
@property (nonatomic,strong) NSMutableArray *dataSource;

//正常状态下文字大小
@property (nonatomic,strong) UIFont *normalFont;

//正常状态下文字颜色
@property (nonatomic,strong) UIColor *normalColor;

//选中状态下文字颜色
@property (nonatomic,strong) UIColor *selectedColor;

//选中状态下文字大小
@property (nonatomic,strong) UIFont *selectedFont;
//点击顶部标签
@property (nonatomic,copy) void (^didClickMenuTop)(NSInteger index);

//点击菜单按钮
@property (nonatomic,copy) void (^clickMenuColumn)();

@property (nonatomic,copy) void (^updateContentOffset)(int index);

//改变顶部偏移量
- (void)updateScrollOffsetWith:(int)itemIndex;

//触发标签对应的网络请求
- (void)triggerTopItemRequestWith:(int)itemIndex;

@end
